package com.dream.qudouapp.adapter;

import java.util.HashMap;
import java.util.List;

import android.util.SparseArray;

/**
 * adapter总类
 * 
 * @author Administrator
 *
 * @param <T>
 */
public abstract class BaseAdapter<T> extends android.widget.BaseAdapter{
	
	protected List<T> list;

	@Override
	public int getCount() {
		if(list != null &&list.size()>0){
			return list.size();
		}
		return 0;
	}

	@Override
	public T getItem(int position) {
		return list.get(position);
	}

	@Override
	public long getItemId(int position) {
		return position;
	}
	
	protected void vv(){
SparseArray<V>
	}
}
